﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MarketFunds
{
    /*
  * 个股资金
  * http://push2.eastmoney.com/api/qt/stock/get?secid=0.002594&fields=f469,f137,f193,f140,f194,f143,f195,f146,f196,f149,f197,f470,f434,f454,f435,f455,f436,f456,f437,f457,f438,f458,f471,f459,f460,f461,f462,f463,f464,f465,f466,f467,f468,f170,f119,f291&ut=b2884a393a59ad64002292a3e90d46a5&cb=jQuery11230638248060898092_1627946615444&_=1627946615445
  * jQuery11230638248060898092_1627946615444({"rc":0,"rt":4,"svr":182994648,"lt":1,"full":1,"data":{"f119":1715,"f137":2461491200.0,"f140":3492869632.0,"f143":-1031378432.0,"f146":-1590704912.0,"f149":-870786416.0,"f170":1000,"f193":1395,"f194":1979,"f195":-584,"f196":-901,"f197":-493,"f291":3001,"f434":4667737984.0,"f435":6383302960.0,"f436":-1715564976.0,"f437":-3423734816.0,"f438":-1244003376.0,"f454":811,"f455":1109,"f456":-298,"f457":-595,"f458":-216,"f459":7949145424.0,"f460":753,"f461":8841465392.0,"f462":837,"f463":-892319968.0,"f464":-84,"f465":-5303742448.0,"f466":-502,"f467":-2645403216.0,"f468":-250,"f469":162,"f470":60,"f471":35}});
  * f137:主力 ，f140 ,超大单,f143,大单，f146,中单，f149,小单
  */
    //个股资金流的类
    public class SingleFundsData
    {
        public string f119 { get; set; }
        public string f137 { get; set; }
        public string f140 { get; set; }
        public string f143 { get; set; }
        public string f146 { get; set; }
        public string f149 { get; set; }
        public string f170 { get; set; }
        public string f193 { get; set; }
        public string f194 { get; set; }
        public string f195 { get; set; }
        public string f196 { get; set; }
        public string f197 { get; set; }
        public string f291 { get; set; }
        public string f434 { get; set; }
        public string f435 { get; set; }
        public string f436 { get; set; }
        public string f437 { get; set; }
        public string f438 { get; set; }
        public string f454 { get; set; }
        public string f455 { get; set; }
        public string f456 { get; set; }
        public string f457 { get; set; }
        public string f458 { get; set; }
        public string f459 { get; set; }
        public string f460 { get; set; }
        public string f461 { get; set; }
        public string f462 { get; set; }
        public string f463 { get; set; }
        public string f464 { get; set; }
        public string f465 { get; set; }
        public string f466 { get; set; }
        public string f467 { get; set; }
        public string f468 { get; set; }
        public string f469 { get; set; }
        public string f470 { get; set; }
        public string f471 { get; set; }
    }
    class SingleFundsRootObject
    {
        public string rc { get; set; }
        public string rt { get; set; }
        public string svr { get; set; }
        public string lt { get; set; }
        public string full { get; set; }
        public Data SingleFundsData { get; set; }
    }
}
